package com.xoa.dao.party;

import com.xoa.model.party.ThreeForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by gsb on 2017/11/24.
 */
public interface ThreeFormMapper {

    int insert(ThreeForm threeForm);

    int update(ThreeForm threeForm);

    int deleteByPrimaryKey(Integer lid);

    ThreeForm selectByPrimaryKey(Integer lid);

    List<ThreeForm> query(Map<String, Object> map);

    /**
     * 根据组织机构代码查询对象
     * @param bsLicenseRegist
     * @return
     */
    List<ThreeForm> selectOnekey(@Param("bsLicenseRegist") String bsLicenseRegist);

    List<ThreeForm> selectOnekeyOther(@Param("opName") String opName);
}
